'use strict';

angular.module('angularfullstackApp')
  .controller('MainCtrl', function ($scope, $http,$firebase) {
  	    var ref = new Firebase("https://publicdata-bitcoin.firebaseio.com/");
    $scope.messages = $firebase(ref);
  }).
  controller('AboutCtrl', function ($scope,$http) {
  	$http.get('/api/awesomeThings').success(function(awesomeThings) {
      $scope.awesomeThings = awesomeThings;
    });
  });
